<template>
  <div class="user-page">
    <van-nav-bar title="标题" left-text="返回" left-arrow @click-left="onClickLeft" />
    <van-card centered desc="描述信息" title="标题" thumb="/timg.jpg" />
    <van-cell-group>
      <van-cell title="单元格" value="内容" is-link to="index" />
      <van-cell title="单元格" value="内容" is-link to="index" />
      <van-cell title="单元格" value="内容" is-link to="index" />
      <van-cell title="单元格" value="内容" is-link to="index" />
      <van-cell title="单元格" value="内容" is-link to="index" />
    </van-cell-group>
  </div>
</template>

<script lang="ts">
import { Component, Prop, Vue } from "vue-property-decorator";
import { Toast } from "vant";

@Component
export default class UserPage extends Vue {
  @Prop() private msg!: string;
  private onClickLeft() {
    this.$router.back();
    Toast("返回");
  }
}
</script>
<style lang="less" scoped>
</style>